package com.adinnet.admin.teacher.service;

import com.adinnet.admin.teacher.model.Teacher;
import com.adinnet.admin.teacher.model.form.TeacherForm;
import com.adinnet.admin.teacher.model.vo.TeacherReq;
import com.adinnet.admin.teacher.model.vo.TeacherResp;
import com.adinnet.core.JsonResult;
import com.adinnet.core.PageResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 教师相关 服务类
 * </p>
 *
 * @author chenjia
 * @since 2021-06-09
 */
public interface TeacherService extends IService<Teacher> {

    PageResult<TeacherResp> queryTeacherList(TeacherForm teacherForm);

    Integer addNewTeacher(TeacherReq teacherReq);

    Integer editTeacher(TeacherReq teacherReq);

    JsonResult deleteIds(String teacherIds);

    List<TeacherResp> getTeacherList();
}
